package com.sen.design.principle.singleresponsibility;


public class FlyBird extends Bird{

    public FlyBird(String name) {
        super(name);
    }

    @Override
    public void mainMoveMode(){
        System.out.println(super.getName()+"用翅膀飞");
    }
}
